package day1_12.FirstPhase.ObjectOriented.GirlFriend;

public class GirlFriendTest {
    public static void main(String[] args) {
        GirlFriend g1 = new GirlFriend();
        g1.name = "柳如烟";
        g1.age = 18;

        System.out.println(g1.age);
        System.out.println(g1.name);

        g1.eat();
        g1.sleep();

        GirlFriend g2 = new GirlFriend();
        g2.name = "江寻千";
        g2.age = 18;
        System.out.println(g2.age);
        System.out.println(g2.name);

        g2.eat();
        g2.sleep();
    }
}
